package structure;


public class col extends group{
	

	private static final long serialVersionUID = -5280597552452894868L;



	public col(int id) { _id = id; }
	
	
	
	@Override
	public boolean intersects(group g) {
		if (g instanceof blk) {
			blk b = (blk)g;
			return _id / 3 == b.getC();
		} else if (g instanceof row) {
			return true;
		} else if (g instanceof col) {
			col c = (col)g;
			return _id == c.getID();
		} else { return super.intersects(g); }
	}
	
	

}
